package abstractFactoryPattern.factory;


import abstractFactoryPattern.product.Button;
import abstractFactoryPattern.product.Checkbox;
import abstractFactoryPattern.product.MacButton;
import abstractFactoryPattern.product.MacCheckbox;

/**
 * @program: course
 * @author: lsn
 * @create: 2024-03-31 20:06
 * @description: Mac系统UI
 */
public class MacFactory extends GuiFactory {

    @Override
    public Button createButton() {
        return new MacButton();
    }

    @Override
    public Checkbox createCheckbox() {
        return new MacCheckbox();
    }
}

